package com.example.pacs.dao;

import com.example.pacs.bean.request.QueryParamsRequest;
import com.example.pacs.bean.response.WorkListResponse;
import com.example.pacs.dicom.server.cmove.InstanceLocators;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * worklist 数据持久层
 */
@Mapper
public interface DicomServerMapper {

    List<WorkListResponse> workListByCondition(@Param("request") QueryParamsRequest request);

    List<Long> queryStudyAndSeries(@Param("params") QueryParamsRequest params);

    List<InstanceLocators> queryInstanceBySeriesId(@Param("seriesIds") List<Long> seriesId);
}
